echo "---------------------------maven package start---------------------------------"
.mvnw package
echo "---------------------------maven package end---------------------------------"

echo "---------------------------image build start---------------------------------"
docker build -t java:two .
echo "---------------------------image build end---------------------------------"


echo "---------------------------image run start---------------------------------"
docker run -p 8080:8080 -d -t java:two
echo "---------------------------image run end---------------------------------"